<%--
  Created by IntelliJ IDEA.
  User: 马静波
  Date: 2020/5/4
  Time: 16:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品信息</title>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<div class="outer">
    <form action="http://localhost:8888/neuedu_ilearnshop_war/manager/product/addProduct" method="POST" enctype="multipart/form-data">
        <div class="inner">
            <label>商品名称：</label>
            <input type="text" name="name" class="name"/>
        </div>
        <div class="inner">
            <label>商品副标题：</label>
            <input type="text" name="subtitle" class="subtitle"/>
        </div>
        <div class="inner">
            <label>商品分类：</label>
            <select name="categoryid">
                <option value="00">请选择商品分类</option>
                <optgroup label="手机">
                    <option value="2">华为</option>
                    <option value="3">小米</option>
                    <option value="4">三星</option>
                </optgroup>
                <optgroup label="笔记本">
                    <option value="21">联想</option>
                    <option value="22">华为</option>
                    <option value="23">华硕</option>
                </optgroup>
            </select>
        </div>
        <div class="inner">
            <label>商品主图：</label>
            <input type="file" name="mainImage" class="mainImage"/>
        </div>
        <div class="inner">
            <label>商品附图-1：</label>
            <input type="file" name="subImages" class="subImages"/>
        </div>
        <div class="inner">
            <label>商品附图-2：</label>
            <input type="file" name="subImages" class="subImages"/>
        </div>
        <div class="inner">
            <label>商品附图-3：</label>
            <input type="file" name="subImages" class="subImages"/>
        </div>
        <div class="inner">
            <label>商品详情：</label>
            <input type="file" name="detail" class="detail"/>
        </div>
        <div class="inner">
            <label>是否是新商品：</label>
            <input type="radio" name="isNew" class="isNew" value="0" checked="checked"/>否
            <input type="radio" name="isNew" class="isNew" value="1"/>是
        </div>
        <div class="inner">
            <label>是否是热门商品：</label>
            <input type="radio" name="isHot" class="isHot" value="0" checked="checked"/>否
            <input type="radio" name="isHot" class="isHot" value="1"/>是
        </div>
        <div class="inner">
            <label>是否是轮播图商品：</label>
            <input type="radio" name="isBanner" class="isBanner" value="0" checked="checked"/>否
            <input type="radio" name="isBanner" class="isBanner" value="1"/>是
        </div>
        <div class="inner">
            <input type="submit" value="提交"/>
        </div>

    </form>
</div>
</body>
</html>
